<div class="tms-main-page-function">
    <div class="main-content">
        <div class="page-function">
            <ul class="wms-wbm-fun-left">
                <button class="layui-btn" ui-sref="userForm">新增</button>
                <button class="layui-btn" ng-click="updateUserClick()">编辑</button>
                <button class="layui-btn" ng-click="deleteUser()">删除</button>
            </ul>
            <div class="wms-wbm-fun-right">
                <button class="layui-btn" ng-click="moreClick()" ng-bind="moreText">更多条件</button>
                <i class="iconfont icon-shuaxin layui-anim layui-anim-loop layui-anim-rotate wms-refresh" ng-click="refreshClick()" refresh></i>
            </div>
        </div>
        <div class="otherForm" ng-show="otherForm">
            <ul>
                <li>
                    <div class="otherFormItem">
                        <div>账号</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.username"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>姓名</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.name"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>状态</div>
                        <div>
                            <ui-select ng-model="dropDownDefault.status">
                                <ui-select-match>
                                    <span ng-bind="$select.selected.name"></span>
                                </ui-select-match>
                                <ui-select-choices repeat="status in (dropDownList.status | filter: $select.search)">
                                    <span ng-bind="status.name"></span>
                                </ui-select-choices>
                                <ui-select-no-choice>
                                    没有加载到数据
                                </ui-select-no-choice>
                            </ui-select>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="otherFormItem otherFormItemButton">
                        <button class="layui-btn" ng-click="searchClick()">查询</button>
                        <button class="layui-btn" ng-click="resetClick()">重置</button>
                    </div>
                </li>
            </ul>
        </div>
        <div class="layui-form scrollTable">
            <table class="layui-table wms_wbm_main_table serial minScreen userTable" >
                <tbody>
                <tr>
                    <th>
                        <input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose">
                        <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                            <i class="layui-icon"></i>
                        </div>
                    </th>
                    <th>账号</th>
                    <th>姓名</th>
                    <th>岗位</th>
                    <th>状态</th>
                    <th>所属仓库</th>
                    <th>用户类型</th>
                    <th>创建人</th>
                    <th>创建时间</th>
                    <th>修改人</th>
                    <th>修改时间</th>
                </tr>
                <tr ng-repeat="user in userList" ng-click="Tools.initTableClick($event)">
                    <td>
                        <input type="checkbox" name="ckValue" ng-value="$index" lay-skin="primary" />
                        <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                            <i class="layui-icon"></i>
                        </div>
                    </td>
                    <td ng-bind="user.username"></td>
                    <td ng-bind="user.name"></td>
                    <td ng-bind="user.job"></td>
                    <td ng-bind="user.enable | statusFilter"></td>
                    <td ng-bind="user.whName"></td>
                    <td ng-bind="user.type | userTypeFilter"></td>
                    <td ng-bind="user.createPerson"></td>
                    <td ng-bind="user.gmtCreate"></td>
                    <td ng-bind="user.updatePerson"></td>
                    <td ng-bind="user.gmtModified"></td>
                </tr>
                </tbody>
            </table>
        </div>
        <div class="admin-table-page" style="text-align: center;">
            <div id="pages" class="page">
            </div>
        </div>
    </div>
</div>